Repository navigation
Fix vulnerable minimatch under Jest glob - #28
Merged
Merged
Conversation
Keep Jest's glob dependency on a fixed minimatch release without changing the unrelated minimatch 3 copies.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
The review records no active issues, with the dependency override and lockfile updates scoped to the intended Jest/glob path while unrelated minimatch dependencies remain unchanged.
No open issues 🎉
What changed in this PR
Updates npm dependency resolution so Jest’s glob@10 uses the non-vulnerable minimatch@11.0.2, while preserving unrelated minimatch@3.1.5 dependencies.
Changes:
- Adds a scoped
glob@^10override forminimatch11.x. - Regenerates the lockfile with
minimatch@11.0.2and its transitive dependencies. - Leaves older
glob@7andminimatch@3.1.5dependency paths unchanged.
| File | Description |
|---|---|
package.json |
Adds the scoped glob@^10 minimatch override. |
package-lock.json |
Records the resolved minimatch@11.0.2 dependency tree while preserving unrelated versions. |
Review effort: Lite (auto)
BagToad
approved these changes
Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
minimatchonly forglob@10, resolving the Jest dependency path tominimatch@11.0.2.minimatch@3.1.5copies unchanged.Validation
npm ci --ignore-scriptsnpm test -- --runInBand(42 tests passed)